import java.util.Arrays;

public class Array {
    public static int[] changeArr(int[] array) {
        for (int i = 0; i < array.length; i++) {
            array[i] = 0;
        }
        return array;
    }
    public static void main(String[] args) {
        int[] arr={1,2,3};
        changeArr(arr);
        System.out.println(Arrays.toString(arr));
    }
}
